
* {
  box-sizing: border-box;
}

body {
  background-color: #d1e2de;
  color: #fff;
  font-family: "Helvetica Neue","PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  padding: 10px;
  margin: 0;
}

h2 {
  margin: 10px 0 20px;
  text-align: center;
}

.container {
  background-color: #3f3f3c;
  box-shadow: 0px 2px 10px rgba(255, 255, 255, 0.2);
  padding: 20px;
  width: 450px;
  max-width: 100%;
  border-radius: 10px;
}

.result-container {
  background-color: rgba(0, 0, 0, 0.4);
  font-size: 18px;
  letter-spacing: 1px;
  padding: 12px 10px;
  width: 100%;
  margin-top: 20px;
  border-radius: 10px;
}

.result-container #result {
  display: block;
  word-wrap: break-word;
  width: 100%;
  height: 100%;
  min-height: 80px;
}



.result-container .btn {
  display: block;
  height: 40px;
  margin: 0 auto;
}

.btn {
  display: block;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: #d1e2de;
  font-size: 16px;
  padding: 8px 12px;
  cursor: pointer;
  margin: 30px auto;
  width: 40%;
  border-radius: 8px;
  font-family: "Helvetica Neue","PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial;
  position: relative;
  overflow: hidden;
}


.btn-large::after{
  content: '';
  position: absolute;
  top: -40px;
  width: 40px;
  height: 100px;
  transform: rotate(-45deg);
  background-color: rgba(255, 255, 255, .1);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  animation: move 600ms infinite ;
  transition: all 600ms cubic-bezier(0.3, 1, 0.2, 1);
  -webkit-transition: all 600ms cubic-bezier(0.3, 1, 0.2, 1);
  -moz-transition: all 600ms cubic-bezier(0.3, 1, 0.2, 1);
  -ms-transition: all 600ms cubic-bezier(0.3, 1, 0.2, 1);
  -o-transition: all 600ms cubic-bezier(0.3, 1, 0.2, 1);
}
@keyframes move {
  0%{
    left: -100px;
  }
  100%{
    left: 120%;
  }
}
.setting-panel{
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  padding: 10px 15px;
}
.setting-panel .settings{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 10px;
  
}
.setting-box{
  margin-bottom: 20px;
}
.setting-box .setting {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 10px 0;
  margin-bottom: 8px;
}
.setting-box .setting input {
  opacity: 0;
  
}

.setting-box .setting input + label {
  user-select: none;
}
.setting-box .setting input + label::before, .setting-box .setting input + label::after {
  content: "";
  position: absolute;
  transition: 150ms cubic-bezier(0.24, 0, 0.5, 1);
  transform: translateY(-50%);
  top: 50%;
  right: 10px;
  cursor: pointer;
}
.setting-box .setting input + label::before {
  height: 30px;
  width: 50px;
  border-radius: 30px;
  background: rgba(214, 214, 214, 0.434);
}
.setting-box .setting input + label::after {
  height: 24px;
  width: 24px;
  border-radius: 60px;
  right: 32px;
  background: #fff;
}
.setting-box .setting input:checked + label:before {
  background: #007fff;
  transition: all 150ms cubic-bezier(0, 0, 0, 0.1);
}
.setting-box .setting input:checked + label:after {
  right: 14px;
}
.box{
  width: 100%;
  position: relative;
  background-color: #fff;
  margin-top: 10px;
  border-radius: 8px;
}
select{
  appearance:none;
  -moz-appearance:none;
  -webkit-appearance:none;
  outline: none;
  outline-offset: 0;
  border: none;
  width: 100%;
  padding: 15px;
  position: relative;
  z-index: 99;
  background-color: transparent;
}

.box::after{
  content: " ";
  height: 7px;
  width: 7px;
  border-width: 0 1px 1px  0;
  border-color: #333;
  border-style: solid;
  -webkit-transform: matrix(.71,.71,-.71,.71,0,0);
  transform: matrix(.71,.71,-.71,.71,0);
  position: absolute;
  top: 40%;
  right: 15px;
  z-index: 1;
}